package com.flower.subject.application.convert;

import com.flower.subject.application.dto.SubjectAnswerDTO;
import com.flower.subject.application.dto.SubjectInfoDTO;
import com.flower.subject.domain.entity.SubjectAnswerBO;
import com.flower.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-03 11:34
 */
@Mapper
public interface SubjectAnswerDTOConverter {
    SubjectAnswerDTOConverter INSTANT = Mappers.getMapper(SubjectAnswerDTOConverter.class);

    SubjectAnswerBO convertDTOtoBO(SubjectAnswerDTO subjectAnswerDTO);


    List<SubjectAnswerBO> convertListDTOtoBO(List<SubjectAnswerDTO> subjectAnswerDTO);




}
